using System;
namespace MicroMsg.Network
{
	public class ConstantNet
	{
		public const string Tag = "Network";
		public const int AUTOAUTH_MAX = 3;
		public const int KEEP_CONN_INTERVAL = 60000;
		public const int TIMEOUT_MILLISECONDS = 5000;
		public const int MAX_BUFFER_SIZE = 32768;
		public const int RETRY_LEFT_MAX = 3;
		public const double READING_TIMEOUT = 30000.0;
		public const double PACK_TIMEOUT = 100000.0;
		public const int REG_MODE_QQ = 0;
		public const int REG_MODE_MOBILE = 1;
		public const int REG_MODE_EMAIL = 2;
		public const int Err_None = 1;
		public const int Err_Cancel = 2;
		public const int Err_ParseHost = 3;
		public const int Err_Write = 4;
		public const int Err_Read = 5;
		public const int Err_Connect_IllegalArgumen = 6;
		public const int Err_Connect_NotFound = 7;
		public const int Err_Connect_IO = 8;
		public const int Err_Connect_Security = 9;
		public const int Err_Connect_NotReady = 10;
		public const int NET_STATUS_NOAUTH = 0;
		public const int NET_STATUS_AUTHING = 1;
		public const int NET_STATUS_AUTHDONE = 2;
	}
}
